/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.web.actions.usuarios.vo;

import com.web.actions.AbstractActionForm;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Usuario
 */
public class ManteCuentaActionForm extends AbstractActionForm  {
    
   private List<CuentaEditorActionForm> cuentas;
    /**
     *
     */
    public ManteCuentaActionForm() {
        super();
        // TODO Auto-generated constructor stub
    }

    public List<CuentaEditorActionForm> getCuentas() {
        if(cuentas == null) cuentas = new ArrayList<CuentaEditorActionForm>();
		return cuentas;
    }

    public void setCuentas(List<CuentaEditorActionForm> cuentas) {
        this.cuentas = cuentas;
    }

    
    /**
     * This is the action called from the Struts framework.
     *
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
   /* public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        ActionErrors errors = new ActionErrors();
        if (getName() == null || getName().length() < 1) {
            errors.add("name", new ActionMessage("error.name.required"));
            // TODO: add 'error.name.required' key to your resources
        }
        return errors;
    }*/
}
